package com.hqq.redis.entity;

import java.io.Serializable;

/**
 * 人类
 * @author huangqiqin
 * @date 2021/03/21 23:45
 **/
public class Person implements Serializable {
    private Integer No;
    private String name;
    private Integer age;

    public Person(Integer no, String name, Integer age) {
        No = no;
        this.name = name;
        this.age = age;
    }

    public Integer getNo() {
        return No;
    }

    public void setNo(Integer no) {
        No = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Person{" +
                "No=" + No +
                ", name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
